package com.mapproject.industrymap.controller;

import com.mapproject.industrymap.service.SysDictService;
import com.mapproject.industrymap.utils.ReturnValue;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/dict")
public class SysDictController {
    @Autowired
    SysDictService sysDictService;
@RequestMapping("/getinfo")
    public ReturnValue getDictInfo(@RequestParam(value = "chsourcelayer")String chsourcelayer){
    return sysDictService.getDictInfo(chsourcelayer);
}
}
